Make corrupt-repo-ref.js executable
authorSimon McVittie <smcv@debian.org>
Thu, 19 Jan 2017 11:34:57 +0000 (11:34 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 19 Jan 2017 13:54:59 +0000 (13:54 +0000)
Debian's Lintian packaging consistency check complains that it isn't
executable but has a #! line. In fact it's reasonable to run this
script directly, so make it executable, and put it in a _scripts
variable so it will be installed executable.

Closes: #652
Approved by: cgwalters

Makefile-tests.am
tests/corrupt-repo-ref.js [changed mode: 0644->0755]

index f37c59daee49362ec184e84f5cf5a850f33ebbe6..957b15a80486468fafb2c45e5d354b69a3e144fc 100644 (file)
@@ -120,15 +120,17 @@ dist_installed_test_data = tests/archive-test.sh \
        tests/pull-test.sh \
        tests/admin-test.sh \
        tests/basic-test.sh \
-       tests/corrupt-repo-ref.js \
        tests/pre-endian-deltas-repo-big.tar.xz \
        tests/pre-endian-deltas-repo-little.tar.xz \
        $(NULL)
 
 EXTRA_DIST += tests/libtest.sh 
 
-dist_test_extra_scripts = tests/bootloader-entries-crosscheck.py \
-     tests/ostree-grub-generator
+dist_test_extra_scripts = \
+       tests/bootloader-entries-crosscheck.py \
+       tests/corrupt-repo-ref.js \
+       tests/ostree-grub-generator \
+       $(NULL)
 
 # We can't use nobase_ as we need to strip off the tests/, can't
 # use plain installed_ as we do need the gpghome/ prefix.
old mode 100644 (file)
new mode 100755 (executable)